package com.funong.matrix.biz.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.funong.matrix.core.base.FunongBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author wanjialin
 * @version 1.0
 * @date 2023/5/18
 */

@Data
@TableName("sys_company")
@ApiModel("公司")
@Accessors(chain = true)
public class SysCompanyEntity extends FunongBaseEntity {

    @ApiModelProperty(value = "公司code")
    private String code;

    @ApiModelProperty(value = "公司名称")
    private String name;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "父id")
    private Integer parentId;

    @ApiModelProperty(value = "父code")
    private String parentCode;

    @ApiModelProperty(value = "负责人名称")
    private String leader;

    @ApiModelProperty(value = "负责人电话")
    private String phone;

    @ApiModelProperty(value = "负责人邮箱")
    private String email;

    @ApiModelProperty(value = "排序")
    private String orderNum;
}
